package com.hk.service;

import com.hk.entity.CourseInfo;
import com.hk.entity.PageBean;
import com.hk.entity.Teacher;

import java.util.List;

public interface TeacherService {




    /**
     * 增加教师
     * @param teacher
     */
    void teacherAdd(Teacher teacher);

    /**
     * 批量删除教师
     * @param ids
     */
    void delete(List<Integer> ids);

    Teacher getById(Integer id);

    void update(Teacher teacher);

    List<Teacher> queryAll();

    List<Teacher> searchTea(Teacher teacher);

    PageBean page(Integer page, Integer pageSize);


    //a2
    List<CourseInfo> getByIdInfo(String empId);

    void deleteInfo(List<Integer> ids);

    void addCourse(CourseInfo courseInfo);

    void UpdataInfo(CourseInfo courseInfo);
}
